package com.example.competitionregistration.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.stereotype.Repository;

import java.time.OffsetDateTime;

/**
 * @Author ZhangJun
 * @Description //比赛基本信息
 * @Date 2023/7/20
 **/
@Repository
@Data
@TableName("competition_base_inform")
public class CompetitionBaseInform {
    @TableId(value = "competition_id", type = IdType.ASSIGN_UUID)
    public String competitionId;
    @TableField("competition_name")
    public String competitionName;
    @TableField("competition_level")
    public String competitionLevel;
    @TableField("preliminary_contest_place")
    public String preliminaryContestPlace;
    @TableField("competition_place")
    public String competitionPlace;
    @TableField("max_participant")
    public Integer maxParticipant;
    @TableField("team_max_size")
    public Integer teamMaxSize;
    @TableField("competition_status")
    public String competitionStatus;
    @TableField("audit_status")
    public String auditStatus;
    @TableField("application_inform")
    public String applicationInform;
    @TableField("gmt_time")
    public OffsetDateTime gmtTime;
    @TableField("gmt_modified")
    public OffsetDateTime gmtModified;
}
